home *** CD-ROM | disk | FTP | other *** search
/ F1 Licenseware / F1 Licenseware - Volume 1.iso / disks / 003.dms / 003.adf / EXAMPLE_PROGRAMS / example3.AMOS / example3.amosSourceCode
AMOS Source Code  |  1993-02-25  |  552b  |  27 lines

  1. 'EXAMPLE PROGRAM THREE 
  2. '
  3. 'Variables are numbers assigned to letters that can change value (vary)
  4. '
  5. '
  6. Rem turn the text cursor off, remove the mouse pointer,set text background 
  7. Rem to blue and clear the screen to blue, see EXAMPLE1 and EXAMPLE2  
  8. Curs Off : Hide : Paper 0 : Cls 0
  9. '
  10. '
  11. '
  12. Rem the variable F1 is given its starting value change this to any number.   
  13. F1=200
  14. '
  15. '
  16. Rem F1 is now INCremented by 1.    
  17. Inc F1
  18. '
  19. '
  20. Rem five isnow subtracted from F1, change this as well.
  21. F1=F1-5
  22. '
  23. Rem We now PRINT the value of F1.
  24. Print F1
  25. '
  26. '
  27. Wait Key : Edit